
#writter=msXmlWritter.New()
#writter.save(MainWindow.getObject(),"testXml.xml")


loader = msXmlLoader.New()
a = msTreeMapper.New()
loader.open(a,"testXml.xml")

MainWindow.getObject().addChild(a.getChild("parser"),"parser")
print MainWindow.getObject()


"""
root.addChild(a,"parser")

root.getChild("parser").getChild("Coordinates").getChild("Variables_1").Dq=0.1
#isAffiliatedTo(a.getChild("Coordinates"))

root.getChild("Coordinates")root
root.update()
print root

coor = a.getChild("Coordinates")
print coor
"""